home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OK PC 54
/
OKPC #54 I-97.iso
/
demo.bat
< prev
next >
Wrap
DOS Batch File
|
1996-11-22
|
2KB
|
72 lines
@echo off
rem Batch File - Versailles Demo CD-ROM
rem Cryo (Xavier Gerbier) - 4/11/96
set dir=CRYODEMO
set hns=DEMO_SP.HNS
getdrive
if errorlevel 1 set cdrom=A:
if errorlevel 2 set cdrom=B:
if errorlevel 3 set cdrom=C:
if errorlevel 4 set cdrom=D:
if errorlevel 5 set cdrom=E:
if errorlevel 6 set cdrom=F:
if errorlevel 7 set cdrom=G:
if errorlevel 8 set cdrom=H:
if errorlevel 9 set cdrom=I:
if errorlevel 10 set cdrom=J:
if errorlevel 11 set cdrom=K:
if errorlevel 12 set cdrom=L:
if errorlevel 13 set cdrom=M:
if errorlevel 14 set cdrom=N:
if errorlevel 15 set cdrom=O:
if errorlevel 16 set cdrom=P:
if errorlevel 17 set cdrom=Q:
if errorlevel 18 set cdrom=R:
if errorlevel 19 set cdrom=S:
if errorlevel 20 set cdrom=T:
if errorlevel 21 set cdrom=U:
if errorlevel 22 set cdrom=V:
if errorlevel 23 set cdrom=W:
if errorlevel 24 set cdrom=X:
if errorlevel 25 set cdrom=Y:
if errorlevel 26 set cdrom=Z:
if exist c:\%dir%\playlore.exe goto demo
:install
echo Please wait...
md c:\%dir% > nul
copy %cdrom%\dl2demo\*.lst c:\%dir% > nul
copy %cdrom%\dl2demo\*.dig c:\%dir% > nul
copy %cdrom%\dl2demo\*.exe c:\%dir% > nul
copy %cdrom%\versdemo\*.lst c:\%dir% > nul
copy %cdrom%\versdemo\*.dig c:\%dir% > nul
copy %cdrom%\versdemo\*.exe c:\%dir% > nul
c:
cd \%dir%
setsound
goto run
:demo
c:
cd \%dir%
:run
CLS
playlore %cdrom%\dl2demo\dl2spa.ubb ON
CLS
ECHO Pulsa la tecla ESC para salir de esta DEMO
echo.
echo.
echo.
echo.
playhns %cdrom%\versdemo\%hns%
choice /S/N/T:S,5 Pulsa S si quieres volver a ver las demos N para Salir
if errorlevel 2 goto fin
goto run
:fin
cls
%cdrom%